package it.softphone.cmc.server.rhino;

import it.softphone.commons.service.scripting.ScriptingService;
import it.softphone.commons.service.scripting.ScriptingServiceFactory;

import javax.script.ScriptException;

import org.apache.commons.configuration.Configuration;

@org.kohsuke.MetaInfServices(ScriptingServiceFactory.class)
public class RequireJScriptingServiceFactory extends ScriptingServiceFactory {

	@Override
	public ScriptingService newScriptingService(Configuration conf) throws ScriptException {
		return new RequireJScriptingServiceImpl(conf);
	}

}
